package com.coolgor.axnut.service.mdmis;

import java.util.List;

import com.coolgor.axnut.dto.mdmis.PolicyExecution;
import com.coolgor.axnut.entity.mdmis.Policy;
import com.coolgor.axnut.entity.mdmis.PolicyCondition;

public interface PolicyService {

	Policy getPolicy(String insureNo);
	
	PolicyExecution getPolicyList(List<String> insureNos, int pageIndex, int pageSize);

	PolicyExecution getPolicyList(Policy policyCondition, int pageIndex, int pageSize);
	
	PolicyExecution getPolicyList(PolicyCondition policyCondition, int pageIndex, int pageSize);
		
	PolicyExecution addPolicy(Policy policy);
		
	PolicyExecution modifyPolicy(Policy policy);
		
	PolicyExecution removePolicy(Policy policy);
		
	PolicyExecution batchRemovePolicy(List<Policy> list);

	Policy getTempPolicy(String insureNo);
		
	PolicyExecution getTempPolicyList(Policy policyCondition, int pageIndex, int pageSize);
		
	PolicyExecution addTempPolicy(Policy policy);
		
	PolicyExecution modifyTempPolicy(Policy policy);
		
	PolicyExecution removeTempPolicy(Policy policy);
		
	PolicyExecution batchRemoveTempPolicy(List<Policy> list);

}
